package org.example.exp3.exam7;

import org.example.exp3.utils.XMLUtil;

public class Client {
    public static void main(String[] args) {
        Photograph photograph = new Photograph();
        Filter filter;
        filter = (Filter) XMLUtil.getBean(
                "src/test/java/org/example/exp3/exam7/config.xml",
                "Filter");

        photograph.setFilter(filter);

        photograph.handle();
    }
}